]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ShellGlobal: Remove root_pixmap left-over
authorOwen W. Taylor <otaylor@fishsoup.net>
Fri, 10 Dec 2010 00:10:34 +0000 (19:10 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Fri, 10 Dec 2010 00:14:26 +0000 (19:14 -0500)
Still had a few references to the root_pixmap actor that was removed
when we switched to using the root actor support in Mutter.

src/shell-global.c

index 77e2d851a1df24320656b899f6ee3cf6f9859428..71eb72895ed5a2be6ada78cbb4257788cb5bbabc 100644 (file)
@@ -60,8 +60,6 @@ struct _ShellGlobal {
   const char *userdatadir;
   StFocusManager *focus_manager;
 
-  /* Displays the root window; see shell_global_create_root_pixmap_actor() */
-  ClutterActor *root_pixmap;
   GdkWindow    *stage_window;
 
   gint last_change_screen_width, last_change_screen_height;
@@ -220,7 +218,6 @@ shell_global_init (ShellGlobal *global)
   g_signal_connect (global->grab_notifier, "grab-notify", G_CALLBACK (grab_notify), global);
   global->gtk_grab_active = FALSE;
 
-  global->root_pixmap = NULL;
   global->stage_window = NULL;
 
   global->input_mode = SHELL_STAGE_INPUT_MODE_NORMAL;
@@ -656,11 +653,6 @@ update_screen_size (gpointer data)
   global->last_change_screen_width = width;
   global->last_change_screen_height = height;
 
-  /* update size of background actor to fix tiled backgrounds */
-  if (global->root_pixmap)
-    clutter_actor_set_size (CLUTTER_ACTOR (global->root_pixmap),
-                            width, height);
-
   return FALSE;
 }